package com.ideaaedi.zoo.foundation.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.HashMap;
import java.util.Map;

/**
 * 底座相关配置
 *
 * @author <font size = "20" color = "#3CAA3C"><a href="https://gitee.com/JustryDeng">JustryDeng</a></font> <img
 * src="https://gitee.com/JustryDeng/shared-files/raw/master/JustryDeng/avatar.jpg" />
 * @since 1.0.0
 */
@Data
@ConfigurationProperties(prefix = ZooFoundationProperties.PREFIX)
public class ZooFoundationProperties {
    
    public static final String PREFIX = "zoo.foundation";
    
    /**
     * 排除指定的自动装配类
     * <pre>
     *  key - 要排除的Autoconfigure类全类名
     *  value - 是否需要排除
     *
     * 形如：
     *  {@code
     *    zoo:
     *      foundation:
     *        exclude-autoconfigures:
     *          org.ssssssss.magicapi.springdoc.MagicSpringDocConfiguration: true
     *  }
     * </pre>
     */
    private Map<String, Boolean> excludeAutoconfigures = new HashMap<>(16);

}